import { createApp } from 'vue'
import App from './App.vue'

import { createPinia } from "pinia";
import persistedstate from "pinia-plugin-persistedstate";
import router from "./router/index";

import "vant/lib/index.css";
import "normalize.css";

const pinia = createPinia();

const app=createApp(App)

// 注册pinia的持久化插件
pinia.use(persistedstate);
app.use(pinia);
app.use(router);

app.mount('#app')
